package cn.ulc.socket.admin.service.staff;

import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.admin.model.dto.staff.RiderDTO;
import cn.ulc.socket.admin.model.dto.staff.StaffDTO;
import cn.ulc.socket.admin.model.dto.staff.StaffListDTO;
import cn.ulc.socket.admin.model.param.staff.StaffSaveParam;
import cn.ulc.store.entity.staff.Staff;

public interface StaffServ {

    StaffListDTO findList(String key, PaginationParam pager);

    StaffListDTO findRiderList(String key, PaginationParam pager);

    StaffListDTO findListByIdentity(String key, String identity);

    Staff save(StaffSaveParam param);

    Staff saveRider(StaffSaveParam param);

    StaffDTO findDetail(Long id);

    Staff findOne(Long id);

    Boolean resetPassword(Long id);

    Boolean deleted(Long id);

    String generateQrCode(Long id);
    Boolean relieveQrCode(Long id);
    Boolean checkBind(Long id);

}
